package com.zh.user.service;

import com.zh.user.domain.dto.BanUserDto;
import com.zh.user.domain.dto.UpdateUserDto;
import com.zh.web.base.PageApiResult;
import com.zh.web.domain.auth.dto.PageUserDto;
import com.zh.web.domain.auth.dto.UserDto;
import com.zh.web.domain.auth.entity.User;
import com.zh.web.domain.auth.vo.UserVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface UserService {


    String updateUser(UpdateUserDto updateUserDto,HttpServletRequest request) throws Exception;


    UserVo getUserInfo(UserDto userDto);

    Integer getUserCount();

    Long addUser(User user);

    User getUser(UserDto userDto);

    PageApiResult<UserVo> pageUser(PageUserDto pageUserDto);

    UserVo getUserInfoByToken(String token);

    String banUser(BanUserDto banUserDto);

    List<UserVo> list(Collection<Long> userIds);
}
